const fs = require("fs").promises;
const templateCompiler = require("vue-template-compiler");

async function run() {
  const source = await fs.readFile("demo.vue", "utf-8");
  const result = templateCompiler.parseComponent(source);

  console.log(result);
}

run();
